package cn.wolfcode.car.service;

import cn.wolfcode.car.domain.ConsumptionItem;
import cn.wolfcode.car.qo.ConsumptionItemQueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IConsumptionItemService {
    int delete(Long id);

    int save(ConsumptionItem record);

    ConsumptionItem get(Long id);

    PageInfo<ConsumptionItem> list(ConsumptionItemQueryObject qo);

    List<ConsumptionItem> listAll();

    int update(ConsumptionItem record);


    List<ConsumptionItem> selectBycno(String cno);

    void deleteByCno(String cno);
}
